#!/bin/bash
#
# 查找出系统中前三个系统用户
n=0
cat /etc/passwd | while read line ;do
	num=$(echo "$line" | awk -F : '{print $3}')
	if [ $num -le 99 -a $num -gt 0 ];then
		echo "$line"
		let n++
	fi
	if [ $n -eq 3 ];then
		break
	fi
done
